from . import views
from django.urls import path, include
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
router.register('student_paper', views.StudentPaperView, 'student_paper')
router.register('subject_list', views.SubjectListView, 'subject_list')
router.register('subject_edit', views.EditSubjectView, 'subject_edit')
router.register('title_list', views.TitleView, 'title_list')
router.register('title_edit', views.EditTitleView, 'title_edit')
router.register('paper_List', views.PaperListView, 'paper_List')
router.register('paper_edit', views.EditPaperView, 'paper_edit')
router.register('task_list', views.TaskListView, 'task_list')
router.register('task_edit', views.EditTaskView, 'task_edit')
router.register('student_index', views.StudentIndexView, 'student_index')
router.register('hand_check', views.TeacherCheckPaperView, 'hand_check')

urlpatterns = [
]
urlpatterns += router.urls
